import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false;

//将接口集挂载到vue原型上，方便用this.$apiFuns.模块名.接口方法名 进行调用
import apiFuns from '@/api';
Vue.prototype.$apiFuns = apiFuns;

//vant组件库
import Vant, { Lazyload } from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
Vue.use(Lazyload);


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
